//
//  CZComposeViewController.m
//  QQ空间
//
//  Created by zhangping on 16/1/16.
//  Copyright © 2016年 zhangping. All rights reserved.
//

#import "CZMoodViewController.h"

@interface CZMoodViewController ()

@end

@implementation CZMoodViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor blueColor];
    
    [self setupNavigationBar];
}

#pragma mark - 设置导航栏
- (void)setupNavigationBar {
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"取消" style:UIBarButtonItemStylePlain target:self action:@selector(close)];
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"发表" style:UIBarButtonItemStylePlain target:self action:@selector(send)];
}

#pragma mark - 按钮点击事件
- (void)send {
    CZLog(@"%s, %s", __FILE__, __FUNCTION__);
}

- (void)close {
    [self dismissViewControllerAnimated:YES completion:nil];
}
@end
